CAMEL-6412: Trying to fix the broken build.
CAMEL-6413: Fixed race condition in file consumer, as read lock release should be executed last.