filename from function '_encode_multipart_form' can be unicode so it needs encoding into ascii