Fix extensions with tinydir_readfile_n (fixes #9)

File extension is simply a char pointer into
the name string. When opening files using
tinydir_open_sorted / tinydir_readfile_n,
this pointer gets invalidated.

Fixed by having both readfile functions find
the extension again.