Changed target filename: original.subhash.extension
Improved target file name generator.