content type detection now fails over to the input stream detection if name detection returns either text/plain or application/octet-stream.