python app engine: how to save a image?,self.response.out.write('Image not available')