for preload test plans, guess type from extensions rather than mimetype (bug 1031455)