make sure lineendings are always set