Allow this to work with ssh::file::hash duplicates.

This is necessary to avoid duplicates in ssh::file::push, and when the
same file is used for more than one source.