'Save retrieved data to file at ``filepath``
.. versionadded: 1.9.6
:param filepath: Path to save retrieved data.'

def save_to_path(self, filepath):

    filepath = os.path.abspath(filepath)
    dirname = os.path.dirname(filepath)
    if (not os.path.exists(dirname)):
        os.makedirs(dirname)
    self.stream = True
    with open(filepath, 'wb') as fileobj:
        for data in self.iter_content():
            fileobj.write(data)
