MCPosixSystem::ListFolderEntries: Ensure path has system encoding.