chance rootfs_rw check to write a file