State moves to inventory old barns