return to core's way of doing image_get_info()
remove pantheon_stat from stream wrappers