Check metadata thumbnails

It's probably enough to just put the try..except around the open statement.