Version bump to 1.8
Copy input file permissions to output file when processing files.