Fix directory in snapshot archives