Create fixlineendings.rb

This is to work around a bug: https://tickets.puppetlabs.com/browse/PUP-927