also fix 2 bugs where the function didn't call allocator.shrink: * std.mem.join * std.os.path.resolve