Fall back to application/octet-stream if mime-type detection functions are available but fail to work. Fixes #2679.
Fall back to application/octet-stream if mime-type detection functions are available but fail to work. Fixes #2679.

svn commit r55476

silverorange/swat,silverorange/swat