Various import/export fixes

Refs #5210, #5211, #5212, #4505, #5261, etc...