fixed DecodeExif error handling.. this should fix a FD leak