Fix deploy by applying correct permissions to tarball