[hdf5scan] replace usage of h5py.File by HDF5File

3 jobs for hdf5_scan_file_lock in 5 minutes and 29 seconds (queued for 3 seconds)