Use pynotify instead of shelling out to notify-send.