handle application/octet-stream etc.