change permissions of downloaded h5 files