Python Path Write Text File