Fixed bug #66395 basename function doesn't remove drive letter