Fixed small bug in nsfileid comparison in tape write task, and added ctacatalogue in xroot plugin linkage