Fix error creating lockfile

```
PHP Warning:  file_put_contents(/home/rahul/civicrm-buildkit/app/tmp/git-cache/civicrm/civicrm-core.git.lock): failed to open stream: No such file or directory in /home/rahul/civicrm-buildkit/bin/pidlockfile.php on line 76
```