Fix files with spaces in their names

Only split on newlines, not other whitespace
even faster and simpler