fixed model destination path for 1.4 if writeModelToDocs is set to true