core.fm: create $confdir when using --copy-config