geoserver/geoserver — pull request #555 by ccancellieri (2014-04-07 08:18:31+00:00)
Title: [Backport] fix persisters writing temporary writing

Fix:
https://jira.codehaus.org/browse/GEOS-6373

- be sure to remove the temp file
- write into same dir of the targhet file