Add better debug logging in get_query_stats.py
Make OUTPUT_BYTES backwards compatible