Mostly complete multi-file write support