I was experiencing a similar issue while issuing the commands from cygwin, cygwin's temp folder structure is a bit different
Manually creating the parent folders (plugman and git), which doesn't exist, fixes the issue (the numbered folders can be created under the plugman/git folders later on)