getgitblame: do not assume /dev/shm exists
getgitblame: cope with different wc behavior