Fix file:// support with font loading

Fixes regression in c7a27bf #94 since cc209e7 #49.
Merge pull request #95 from skeggse/patch-1

Fix file:// support with font loading