Python OS Module - Writing Text To Files In Python