Include metadata in #retrieve's return value.

Currently hardcoded to .jpg, which of course is a silly idea.