TOOLS-318: mongoimport should check if the connected server is part of a replica set before setting write concern