Fix bug when a renaming file has less than 3 characters will cause crash. (issue #22)
Merge pull request #23 from airpfei/master

Fix bug that rename may cause crash (issue #22)