install-nix-from-closure improvements

Just wasted a couple hours chasing shadows because the nix store got corrupted and there was no indication of that anywhere.

Since an install is one-time only, might as well verify and optimize.
The optimization also showed that the copied files aren't read-only; fixed that as well.

Doesn't `if ! command; then ...` work with POSIX shells?