treat previous_positions as a hash keyed by log path

logic still only handles one log file path overall, but file pointers
are set up to allow for multiple files. That'll be done next