BIS-753: Added a check when copying/moving files, to make sure that file names do not collide with the existing ones.