Fix aspect_ratio() for Py3 to return rows and cols as ints