Support the CURLFile for posting images

Fixes #5