Handle uploaded files when wrapping Django requests.

Will also be cherry-picking onto the edx-platform-designated commit.