Added helper function to find directory record (ISO9660).