"kpm restore" puts SHA files on disk

parent #439