tests: When opening a file to check an exported result, close the file before exit.
BlockwiseFileset: Not tested (and therefore not supported) on Windows and Darwin.