Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=57308
Avoid unnecessary use of System.getProperty("file.separator")
Format