Using streams instead of streamreaders when importing publishsettings.