You shouldn't need to use roslib.load_manifest anywhere to get this working. Have a look at this minimal example which subscribes to a topic and saves JPG images. You should be able to run this example successfully by only changing the image_topic variable.