Finally nailed down line endings issue