set default mimetype to octet-stream for binary files