add a Archfile#valid? method