MCI-1739: mongoimport
minor optimizations