preprocessor: only create *set_auxiliary_variables.m file if there will be something in it. Closes #1384