refs #6449 Warnings and avoid read/write empty NeXus