Catalogs: Fix an error when generating catalogs via calibredb from the command line on non-English installs