Add error callback if formdata are not supported

A new callback is added if a file try to be upload and formdata is not
supported
#2
Change converter annotation to Encoder
Add unit test for file resolver

Add unit test #2