urllib3 allows for explicit content types to be specified for file data: https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/filepost.py#L70
This patch allows that functionality to be exposed. A test is included.
Allow for third argument in file dict value to support explicit
file content type.
Fixing test to ensure it passes with python 3.