SERVER-13760 added check on source collection size before running mongoexport

(cherry picked from commit 0f45edb3e83bef553ae70c4cbab4c08319f2fd61)