Backport to Python 2.x to use working flickrapi dependency