fix persisters writing temporary writing
be sure to remove the temp file
write into same dir of the targhet file
Merge pull request #501 from ccancellieri/master-GEOS-6373-persister-failure

fix persisters writing temporary writing
GEOS-6378 CAS extension throws exception in case of empty URL params