static handler: add default 'application/octet-stream' and only set
guessed mime if not none