Issue #5892: Polish FileUtils's renameFile for AssetsManager