Allow optional content-type for RequestBody.create with file param

This is addition to pull request from @swankjesse #900. He forgot to fix RequestBody.create with file param.

Related to #899 issue.