Gets a registered Format for a file with extension ext.
The format to use for encoding binary data (usually not to files)