update version to 1.7
copy FileReplacer (using guava Files instead of commons-lang)