結果 : python write to file create directory if doesn't exist