auto-guess meta in formats.base.write_file()