Feature #4977: Fix issue of file rename on Windows
Merge pull request #5 from pandamicro/lua-vm-3.1.1

Feature #4977: Fix issue of file rename on Windows