use USER environmental variable if getting user id by getpwuid is failed...

in perl scripts: download-from-binary-cache.pl and nix-channel
This problem is described in issue #209