Python Write To Text File With Variable