Exporting Vertex Colors to an image?

Is there any way of baking vertex colors to an image using the current UV mapping? Any scripts or anything?

Enable ‘Vertex Color Paint’ in the objects material settings before you bake the texture.
http://screencast.com/t/bDVRmly5