Don't crash on NULL filename.