fixes bug 1022882 - File upload with non-ascii file names fail