Fix #544: copy symlinks as symlinks instead of dereferencing them