> (File reads were cached by OS and/or disk due to repeated testing, but file writes probably not)
Unless you flush the pages manually, your dirty pages (written files) live on long after your process died. Depending on system and configuration, minutes or even hours can pass before they are flushed to disk.