Bug 1065877: prevent OOMs when editing, picking and sharing large images

'pickedFileInfo' will always have 'metadata'?