build-remote.pl: Copy all outputs in one operation
nix-store --export: Export paths in topologically sorted order

Fixes #118.