Fixes file urls for wkhtmltopdf
The previous commit broke relative paths.