made the cat and avrocat commands lazy. fixes #293