fix bash bug when using awk to convert lf to crlf