Use \n for line endings instead of \r so it works fine on unix systems

Use '\n' for your line substitution character instead of \r. Unix uses \n line endings, which git mangles when it checks out the files (which is why the levels has one line). The only system that uses \r is old MacOS9-, and noone cares about them.