biserver-8790

changing overwrite to true and always renaming the file.