Isn't there a race between setting it writable and doing this write?