execFile replacement for git