Refactor filesystem module. Add Unicode support in GetExecutablePath.