stash: fix "--staged" with binary files