python watchdog pattern matching event handler