lib/pry/code/code_file.rb: refactor #code_path

Make the code slightly more self-documenting.