support escaping spaces in archive directory / file names
use HEAD in lieu of interpreting output from the `git branch` command