changed lockfile to be opened in write mode (solaris for one doesn't like
exclusive locks on read)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
Merge pull request #2927 from bcoca/solaris_lock

changed lockfile to be opened in write mode