ensure the the current directory of the fsi is correct for each buffer