Please see BuildImage sample to find out how collision detection could be disabled and enabled during file system image creation.