Fix issues introduced in yara-python