more robust file:/// error reports