It may be because the 'file -rename' command only changes the name of
the scene in maya. On it's own, the rename command doesn't actually
save/write anything. Have you tried combining rename with saveAs? I
bet that would cause the workspace to change.
-Ian