Fix download type

A bug was reported where Firefox couldn't figure out the file type properly. This fixes that.