unpack-trees: handle lstat failure for existing file