Using mkdir_p to handle nested paths

If a user gives a nested path where they want to store their config.yml,
general store now uses mkdir_p to create any folders in the path that do
not exist.