Fix up bio_file test to use mkstemp