This allows queryPathInfo() to return signatures.
This is currently only used by the Hydra queue runner rework, but like eff5021eaa it presumably will be useful for the C++ rewrite of nix-push and download-from-binary-cache. (@shlevy)
eff5021eaa