Fix broken code for dos2unix absolute path conversion