Save pastefile after upload.
Return hash value.
Merge pull request #17 from xutao/p:j

Save pastefile after upload.