[#PRX-233 fixed possible deletion exception and possible rename exception]

A possible rename exception could be trigered when a connection fails to
the forwarding destination (fixed)
A possible deletion exception can occur due to server path with '.'
character resulting in the message
"Failed to create log file"
[#PRX-233 fixed possible deletion exception
[#PRX-233 reverted fix ]