restore FileUtils getWritablePath