Uploading images now uses bytestrings