Use new Mojang API to avoid getting rate-limited
Try copy&delete if renaming fails

Some server hosting companies have interesting file systems. Renaming
doesn't always work.