remove undesired files from tarball