Throws RuntimeException in case the rename failed