delete write protected files before extracting the tar
fix filename by using alias_path()