[add] Get filetype from post.ext when possible.
[add] Get filetype from post.ext when possible.

This way running add on an old post never fails because the filetype can't
be identified from file contents.

drougge/wellpapp-pyclient