Fixes a bug when copying/moving directories and multiple files in nautilus.