Added a delay between writing plugin cfg and minidlna conf.

This seems to fix the issue where you make a change to the
configuration, click apply, and it only gets saved to the .cfg file. A
subsequent apply also causes it to be written out to the .conf.