Cast 'current_offset' into integer to prevent "TypeError" if re-running script after crash.

Cast 'current_offset' into an integer, as this will throw a "TypeError" since this is a string read from Redis on subsequent runs of script (simulating a crash and restarting from offset); it would not be noticed on initial run, since it starts as an integer.