make file:/// urls compatable