Add proper error handling for IO errors.
Add proper error handling for IO errors.

modulexcite/dotless,modulexcite/dotless,rytmis/dotless,r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,modulexcite/dotless,r2i-sitecore/dotless,rytmis/dotless,r2i-sitecore/dotless,rytmis/dotless,modulexcite/dotless,modulexcite/dotless,rytmis/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,rytmis/dotless,dotless/dotless,modulexcite/dotless,dotless/dotless,r2i-sitecore/dotless,rytmis/dotless