add png file extension to cached pdf images