fixes new tab opening to cwd on OSX for #19