Properly handle offset in write