revert 2d8f19ccd to get mapfishapp's docTempDir