Simplify filterFilePath helper.
Expose default rename function as _rename.
Minor sync test generation fix.
Tweak _rename function code.
Mapping rename function can now return {src, dest} object.
Minor cleanup.