Raise an exception when modifying a dust file in memory that is then used in a model that is written with the copy=False option