python3: `reduce()` is moved to `functools` module in Python 3 Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Signed-off-by: Jiri Kastner <jkastner@redhat.com>