bug fix for "js-beautify does not create directory automatically when use '-o' parameter"