ReplaceFileTarWrapper: permit to override file name
This code provides helper functions for dealing with archive files.