hachoir: use file instead of generated for old Ruby