Something's going crazy with my line endings