post-checkout-hook: handle paths with spaces in the file names