runtime/qio: use getcwd instead of getwd

getwd is deprecated in favor of getcwd.

Related to #325.
If that's the case, then we don't need to worry about it - I'll look over the rest of the code here and we can merge it.