Also accept (filename, file-like) tuples (as requests does) for files.