fn getCwdAlloc(allocator: Allocator) ![]u8
Caller must free the returned memory.
allocator: Allocator,