Better error messages for file upload errors - refs BT#8398