replay: Improve signature of DirEditor.open_file method
Add path parameter for consistency with other methods.