Make blame_draw check if the filename is NULL instead of empty

Fix null pointer exception^W^W^Wsegfault.