use sun.jnu.encoding instead of file.encoding for mac os x