Apply try-with-resource in loading resources
Make methods to throw Exception objects not just logging

- made methods to throw a excetpion object
- made methods to re-throw wrapping with RedPenException object if needed
Small fix
Merge pull request #250 from takahi-i/apply-try-with-resource

Apply try-with-resource in loading resources