[rt.cpan.org 85325] Added better diagnostics in case locking
of db_file fails, as suggested by Nigel Horne.