fix problems with german "Umlaut" in folder name

This PR fix the problem with german "Umlaut" in folder name on mac os (#2377 and #579).
The problem was that the mac os filesystem character encoding is http://en.wikipedia.org/wiki/Macintosh_Roman so we need utf8 encoding because the webinterface is utf8.