We need to ensure that the file path ends with DIR_SEP, as File::CreateFullPath is a very naive function.