Remove blank lines added to Spark core