TRIVIAL nb_read/write not available on Windows