Tiny fix.

Fixed problem with application/octet-stream that sometimes were a
picture.