Mantis issue 16865 - plugin installation across partitions fails

This change is to workaround the problem of using rename when source and destination are on different file systems.