implement _put_file func used by _save func
Merge pull request #2 from luocheng/master

implement _put_file func used by _save func