Properly close the file descriptor (fd) provided by the mkstemp() method
before exiting (fix some 'The process cannot access the file' error
experienced in Windows).
Open the zip file in 'read-binary' mode. Send the binary stream to the
http.request.