Scala split string on period