atomic save not working

There is a problem with atomic save when trying to ```os.Rename(f.Name, name)``` i get invalid cross-device link which is mentioned here to https://groups.google.com/forum/#!topic/golang-dev/5w7Jmg_iCJQ but using copy instead of rename will remove the advantage of atomic save.
Is there any alternative that we can still use atomic save?(maybe creating temp file in current buffer directory)