Call yr_finalize when exiting Python in yara-python