[DF-1212] fix  crash under win, add new function to FileSystem