blobnode: add media type detection.