Fix creation of etc/.java/.systemPrefs in jdk7-compat