FIX: CGI and PUT upload file open binary and truncte modes