Cleaning up after %attach in 5.7
In 5.7, when I attach a file, call it
foo.sage, I get files called something like
foo.sageQ7xLla.py created in the directory, plus a new pair every time
foo.sage is altered. Obviously, this gets tiresome really quickly. Is there a way to get sage to create this files wherever it was doing it before (some tmp directory, I assume) or to clean up after itself on exit?