Index: viewthread.php
===================================================================
--- viewthread.php	(revision 1756)
+++ viewthread.php	(working copy)
@@ -691,9 +691,8 @@
         error($lang['filecorrupt']);
     }
 
-    $type = strtolower($file['filetype']);
     $size = (int) $file['filesize'];
-    $type = ($type == 'text/html') ? 'text/plain' : $type;
+    $type = 'application/binary';
 
     header("Content-type: $type");
     header("Content-length: $size");
