Fix missing error check in tinydir_open_sorted()