Python pyside image files management