CAMEL-6056: Improved logic when changing file name to better handle dir slash in windows or unix style

git-svn-id: https://svn.apache.org/repos/asf/camel/branches/camel-2.10.x@1457220 13f79535-47bb-0310-9956-ffa450edef68
CAMEL-6056: Restore camel-ftp to use loigc from working Camel 2.10.2 as otherwise we risk break other stuff for people.

git-svn-id: https://svn.apache.org/repos/asf/camel/branches/camel-2.10.x@1457221 13f79535-47bb-0310-9956-ffa450edef68
CAMEL-6056: camel-ftp to work with windows again.

git-svn-id: https://svn.apache.org/repos/asf/camel/branches/camel-2.10.x@1457222 13f79535-47bb-0310-9956-ffa450edef68