AbstractLockingDocumentMessageHandler is locking with `LOCK_EX` all document handler operations, even if they are only reading files. Locking type should be overrideable for read-only DocumentMessageHandlers.