mime type fix (now recognizing application/octet-stream)