ipython/ipython — pull request #5548 by pankajp (2014-04-07 15:38:35+00:00)
Title: FileNotebookManager: Use shutil.move() instead of os.rename()

`os.rename()` fails in case the new path is on a different
filesystem. For example if a file in `/tmp` is tried to save
to home, it causes following error:

[Errno 18] Invalid cross-device link using os.rename