Fixed java_io_File.cpp under MinGW
Also some refactoring done of unicode defines (re-used from libcore_io_Posix.cpp)