Added support for files edited on a mac (cr line termination)