fix FAT_setAttr
use limits.h & PATH_MAX
update devoptab for latest newlib patches
lfn fixes from Patrik Rak