fix: set access mode O_RDWR