Fix: Some functions in `node_filesystem.dart` are not handling Buffer objects properly