Avoid using a static-buffer for the config-file name.

  Since we're usign Gtk+ we can use the dynamic functions
 to avoid potential buffer-size issues.