Guess content type and set it on upload init so browser will display con...

...tent properly