Bug 1058853 - Don't break the gallery if we have corrupt images

You shouldn't have to change this file. If you reject the image properly in the metadata parser, then the mediadb will never tell the gallery app about it, and fileinfo.metadata will always be set.