Fix write failures for worm cartridges
misc fixes
lz4 r108
Add QS_IO_SYNC support