Fix a path error in the open path dialog

- For processes path needs to be appended by " on both sides in case it
has a space in it. (DOS restrictions)