Many small changes to bring the `postmkvirtualenv` and `postactivate` scripts into parity