Extract out record_path
Flatten do_record
Extract out path calculation
Refactor Recorder#do_record