Feature/re chdir on restart

Just thinking of polluting the filesystem with links that don't get cleaned up on failure. It's a concern you can ignore.