Convert file to Unix type