Fixes test_coverage_recovery

This adds a quick check to see if `h5stat` is available in PATH and to
fixes a bug with the working directory being the elected temp directory.
Merge pull request #896 from lukecampbell/tempfile

Fixes test_coverage_recovery