Make sure old h5 file exists before trying to remove