Verify that output file can be opened