Fixed a problem with the file content type not getting set correctly.