Fix (highly unlikely) race condition in readLink
Fix (highly unlikely) race condition in readLink

Used to determine symlink size with stat and value with readlink.
This could technically result in garbage if symlink changed between
calls.  Also gets around the broken stat implementation in our
network filesystem (returns size + 1 giving a byte of garbage).

layus/nix,dezgeg/nix,dezgeg/nix,pikajude/nix,rycee/nix,layus/nix,ehmry/nix,shlevy/nix,zimbatm/nix,rycee/nix,dtzWill/nix,dtzWill/nix,shlevy/nix,NixOS/nix,ehmry/nix,NixOS/nix,peti/nix,NixOS/nix,layus/nix,layus/nix,layus/nix,peti/nix,shlevy/nix,peti/nix,dezgeg/nix,shlevy/nix,dtzWill/nix,rycee/nix,zimbatm/nix,vcunat/nix,vcunat/nix,dtzWill/nix,NixOS/nix,rycee/nix,NixOS/nix,ehmry/nix,ehmry/nix,pikajude/nix,dezgeg/nix,dezgeg/nix,ehmry/nix,vcunat/nix,peti/nix,rycee/nix,dtzWill/nix,peti/nix,shlevy/nix,zimbatm/nix,zimbatm/nix,ehmry/nix,pikajude/nix,vcunat/nix