Backport PR #4934: `ipython profile create` respects `--ipython-dir`

closes #4704