Add missing entries to OPTION_FUNCS in torrent.set_options
Flake8'd core files