Improve gzipped file check in out_file test