use path.join for destFile

The destFile name was wrong when the output file didn't start with a '/'.