[nimbusfs] improved local data block management and some win32 issues