Added handling for "binary" encoding:
"
Content-Type: image/jpeg; charset=binary;
 name=image._jpg
Content-Disposition: attachment;
 filename=image._jpg;
 size=389291

/9j/4AAQSkZJRgABAQEAyADIAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
"