Correct Scala String format usage