code: def save_response_to_file(self, response, filename):
          
          try:
              last_response = self.get_last_response()
              with open(filename, 'w') as f:
                  f.write(last_response.content)
          except OSError, e:
              return False
          return True
docs: Saves the body of the last response to a file
  
          @param filename: Filename to save to
          @return: Returns False if there is an OS error, True if successful