ignore .DS_Store file which is generated by OSX
replace StringBuffer with StringBuilder, because we are using Java6
improve resource handling
remove meaningless code to make it simple
Merge pull request #13 from eller86/stabilize-utils

Resource leak problem