explicitly change permissions for g+rw on output files