[INTERNAL] Uses tmp object to parse the file format extensions in OutputStreams constructor.