Why not just use PHP `rename` core function here ?