Copy directory trees with huge numbers of hardlinked files with little RAM usage on POSIX