small bulk loader/mongorestore fixes

#1064