set default mimetype to octet-stream for binary files

mimetype only specified if content=True