Fix linefeeds issues with SHA1