1. fix IOUtility bug.
2. Replace IsNullOrEmpty to IsNullOrWhitespace method.