fixing empty file directory for tar files that contain only files