Fix DM_DEFAULT_ENCODING warnings by FindBugs

See http://findbugs.sourceforge.net/bugDescriptions.html#DM_DEFAULT_ENCODING for details.