fixed perm for rotated gz files