Ensure directory name