git-apply: create subdirectories leading up to a new file