Log when an upload fails.
Pick the first mime type for a file rather than looping over them all.
Upload unknown mime types without a content type.
Grab the list of remote etags once.
Work around a bug in fog which prevents enumerable methods from working correctly.