The VCL got a function that preserves the trailing path seperator, when extracting the file path