Previously these ended up without u+w permissions which meant they could
not be regenerated, which was hugely annoying when these venvs were for
example created and recreated in a nix-shell.
(cherry picked from commit 4fa69858d951409426c5b080fbdaf342fe790877)