Added ability to send File parts in JsonStreamer.

In the earlier implementation, ie input streams, there was a race condition
when not all data was properly sent to remote URL. I haven't investigated
the issue, but I thought that using a File would remedy the problem -- and
it did!

Pay attention that this pull depends on the previous pull request #476