Let OFXMLElement take a stream instead of a file