support archs with no renameat syscall, only renameat2