python3: `open()` is preferred way for opening files.

Moreover, `file()` is not available in Python 3.

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Signed-off-by: Jiri Kastner <jkastner@redhat.com>
2 files changed