DESC
Always open files with reading capabilities.
EDESC

We always need to read from files, even if jopen() is called with O_WRONLY,
because we read the contents and save them to the transaction file before
commiting it.

