I exposed TargetPath as a config file option "target_path". I don't like the name, but it follows the naming convention. The purpose of TargetPath stands unmodified, and it enables a fair amount of customization.
go fmt