fix php_dir will error when has dir start with 'n', 'x'... in windows

if `php_dir` is 'C:\new\php', `php_dir` will set to "C:\new\php" where `\n` is a new line.