use move instead of rename to work with multiple partitions on linux