fs: vectored IO API for filesystem read/write

#1103 with a windows error fixed