writeData(): correct variable name for config file path

It changed since we wrote this patch.