Use unix line endings

This allows the script to be properly run on unix platforms while still being
compatible with platforms using dos file endings (i.e. windows).