switched from os.path to pathlib; also, event.reply() is now properly agnostic