Fix process path

I was naively assuming that __dirname constant was the same as the current
working dir. But of course it's not :).