Open file for write-only (for db record update)