Fixing sending debug messages default to STDERR