Change handling of file formats
Add get_format_string()
Add available_formats() and available_subtypes()