Fixed the upload speed issue. Well, alleviated it a bit. We're no longer
creating two temp files for every filetype detection attempt.