rose edit: guarantee cwd for macros.

This change guarantees that a macro or upgrade macro
runs with a current working directory of the
relevant configuration directory within rose edit.

This is useful for altering other files in the configuration
besides the implicit altering of `rose-app.conf`.