fix for: https://issues.apache.org/jira/browse/AMQ-4171 use the getCanonicalPath() value to ensure valid pathnames being used on the platform.