Add @d97fba1 to History
Open in read-write mode for flock on Solaris

Solaris and some other platforms can't create an exclusive lock on a
read-only file.  Opening in r+ mode appears to work around this.

Fixes #752.  See also #737.