detect_well_known_errors doesn't need the subprocess module anymore.
generate_daily_report - State mkdir's were made in the wrong place.

I see no evidence that the mkdir is needed. This fixes it
nontheless.
use capitalized variable names for consistency