Fix directory name extraction in CreateFile target