fix directory permissions on tarball