reset cwd on finish
Merge pull request #17 from 0x20h/fix-cwd

reset cwd on finish