Fixes a bug when trying to upload files via XMLRPC
Fixes a bug when trying to upload files via XMLRPC

git-svn-id: 70ab0960c3db1cbf656efd6df54a8f3de72dc710@1420 820eb932-12ee-0310-9ca8-eeb645f39767

aren19/HW_5,leminhtuan2015/test_temona,moneyadviceservice/publify,boostsup/HW5_typo,gvaquez/typo,hmallett/publify,ashleymichal/typo,blairanderson/that-music-blog,ACPK/typo,whithajess/publify,whithajess/publify,LOSDev/CS169-Homework-5,silygose/typo,waruboy/publify,saasbook/typo,nguyenduyta/deploy-test,K-and-R/publify,P5hil/typo,McWild/psdtohtml,SF-WDI-LABS/publify_debugging_lab,jcfausto/publify,kildem/blog,mplstar/blog,babaa/foodblog,ndueber/cs-169_hw5,McWild/psdtohtml,leminhtuan2015/temona_staging,silygose/typo,agiamas/publify,LOSDev/CS169-Homework-5,Endymion1977/typo,solanolabs/publify,sf-wdi-25/publify_debugging_lab,telekomatrix/publify,drakontia/publify,publify/publify,robinparadise/typo,leminhtuan2015/portal_staging,Juuro/publify,seyedrazavi/publify,ndueber/cs-169_hw5,felixitous/typoo,McWild/psdtohtml,xwang191/-edX.CS169.2x.hw1,freibuis/publify,amba178/legacy_code,leminhtuan2015/portal_staging,saasbook/typo,natesholland/typo,nvgit/typo1,pr0d1r2/typo,leminhtuan2015/portal_staging,agiamas/publify,bikmaeff/CS169.2_hw12,shrayus/hw-refactoring-legecy-code,K-and-R/publify,sbstn-jmnz/typo,congchen5/typo,arramos84/cs169-hw5,freeranger/typo,alexhuang91/typo,silygose/typo,leminhtuan2015/temona_staging,totzYuta/coding-diary-of-totz,ashrob/typo,LOSDev/CS169-Homework-5,alexhuang91/typo,nvgit/typo1,burakicel/Burakicel.com,pr0d1r2/typo,robinparadise/typo,sf-wdi-25/publify_debugging_lab,seyedrazavi/publify,backpackerhh/typo,natesholland/typo,whithajess/publify,moneyadviceservice/publify,mozzan/publify,freibuis/publify,publify/publify,moneyadviceservice/publify,SF-WDI-LABS/publify_debugging_lab,bsiebz/legacyhw,pr0d1r2/typo,randyramadhana/typo,ACPK/typo,tedfrazier/saas_typo,nguyenduyta/deploy-test,matthewliu/saas_hw5,nvgit/typo1,shimolshah/typo-backup,edgarpng/typo-blog,Chickey2/typo,solanolabs/publify,saasbook/typo,boostsup/HW5_typo,mozzan/publify,natesholland/typo,shrayus/hw-refactoring-legecy-code,sf-wdi-25/publify_debugging_lab,Chickey2/typo,kmathew96/typo,moneyadviceservice/publify,P5hil/typo,xwang191/-edX.CS169.2x.hw1,babaa/foodblog,pr0d1r2/typo,leminhtuan2015/test_temona,amba178/legacy_code,framgia/publify,hmallett/publify,khlumzeemee/typo,totzYuta/coding-diary-of-totz,lbiedinger/cs_typo,bsiebz/legacyhw,shimolshah/typo-backup,mozzan/publify,vivekv009/inuni-blog,kryptykfysh/saas_typo,shaomingtan/publify,agiamas/publify,publify/publify,McWild/psdtohtml,edgarpng/typo-blog,pr0d1r2/typo,mplstar/blog,kildem/blog,LOSDev/CS169-Homework-5,sbstn-jmnz/typo,lbiedinger/cs_typo,P5hil/typo,bikmaeff/CS169.2_hw12,vincenttian/cs169hw5,backpackerhh/typo,vivekv009/inuni-blog,boostsup/HW5_typo,leminhtuan2015/temona_staging,kildem/blog,lbiedinger/cs_typo,shimolshah/typo-backup,seyedrazavi/publify,jcfausto/publify,faraazkhan/myblog,vincenttian/cs169hw5,solanolabs/publify,waruboy/publify,mrfosip/typo,drakontia/publify,sbstn-jmnz/typo,blairanderson/that-music-blog,bikmaeff/CS169.2_hw12,framgia/publify,kryptykfysh/saas_typo,pr0d1r2/typo,zsstor/Typo,faraazkhan/myblog,telekomatrix/publify,SF-WDI-LABS/publify_debugging_lab,mrfosip/typo,gvaquez/typo,leminhtuan2015/nginx_capuchino_rails,vincenttian/cs169hw5,freeranger/typo,aren19/HW_5,felixitous/typoo,shaomingtan/publify,Endymion1977/typo,blairanderson/that-music-blog,arramos84/cs169-hw5,telekomatrix/publify,khlumzeemee/typo,burakicel/Burakicel.com,kmathew96/typo,leminhtuan2015/portal_staging,ndueber/cs-169_hw5,leminhtuan2015/nginx_capuchino_rails,mplstar/blog,waruboy/publify,K-and-R/publify,leminhtuan2015/nginx_capuchino_rails,zsstor/Typo,pr0d1r2/typo,ACPK/typo,tinnywang/typo,ashleymichal/typo,arramos84/cs169-hw5,tinnywang/typo,ashrob/typo,randyramadhana/typo,freibuis/publify,kildem/blog,McWild/psdtohtml,wizzro/CS169.2x-hw1-2,wizzro/CS169.2x-hw1-2,tedfrazier/saas_typo,vivekv009/inuni-blog,jcfausto/publify,congchen5/typo,freeranger/typo,kmathew96/typo,bsiebz/legacyhw,felixitous/typoo,backpackerhh/typo,leminhtuan2015/nginx_capuchino_rails,Juuro/publify,pr0d1r2/typo,zsstor/Typo,randyramadhana/typo,nvgit/typo1,matthewliu/saas_hw5,nguyenduyta/deploy-test,leminhtuan2015/test_temona,Juuro/publify,shrayus/hw-refactoring-legecy-code,hmallett/publify,ashleymichal/typo