migration: unexport migrate_fd_error()