Fixed compiler error in HSSFReadWrite. Fixed deprecated calls and simplified example code. (follow-on from r829758)