refactor _miOptions_handler to use os.path.join