Bugfix for lseek, file IO in newlib-c++