Backend: Fix interaction between filepaths with weird characters (spaces, etc) and libpoppler

Signed-off-by: Jerome Flesch <jflesch@gmail.com>