Added check of HD5 reads in dextract

If an HDF file is corrupted for some reason, protecting the read in
detract allows it to report the problem and exit gracefully (rather
than crashing).