Random route should serve gif instead of rendering as html