check if config dir(s) exist and create them before creating config file

Simple change.

Given a user sets the GLI config file to be in a dir, `app initconfig` should create the parent dir(s) (if they do not exist) before creating the config file.

    config_file 'foo/config.yaml'