Fix copying of empty folders