Finally fixes stat for fatfs