register_publish can now take the optional named parameter
'version_entity'.  This specifies the version entity the published file
should be linked to.