Fixed gaping security hole because PyYAML is a piece of shit.