GzipInputFormat: better failsafe, gracefully handle callbacks if reader is null