Classpath debugging info and fix the offset calcuation

Add logging to debug avro class path/loading
Fix the offset calculation (we don't use the begin offset anymore)