Fix "TypeError: Arguments to path.join must be strings" in GitHubResolver

When tmp.js returns a cleanup callback in addition to the tmp dir path, nfcall changes return type to an array.