Fix Windows compile-time error
Use _getcwd on Windows
Merge remote-tracking branch 'lethosor/filesystem-module-pr' into 0.34.11-r5