add a util method for file upload
Merge branch 'master' of https://github.com/huhuo/general.git