Fix that freeimage plugin cannot determine reability from file objects. See #2