Write altered files to filesystem