collect: do not symlink the same file

* Avoids an OSError that may happen when the source and
  destination is pointing to the same file.

Signed-off-by: Jan Aage Lavik <jan.age.lavik@cern.ch>