Check for H5Lexists before writing to scalar data sets