r6187: 1. Make sure that we don't try to delete . and .. in a more portable way.