title: write dataframe to excel file at given path
body: <p>I have a DataFrame</p>
  <pre><code>df = pd.DataFrame({'Data': [10, 20, 30, 20, 15, 30, 45]})
  </code></pre>
  <p>This is working:</p>
  <pre><code>writer = pd.ExcelWriter('pandas_simple.xlsx', engine='xlsxwriter')
  df.to_excel(writer, sheet_name='Sheet1')
  writer.save()
  </code></pre>
  <p>but when I try:</p>
  <pre><code>out_path = &quot;C:\Users\Bala\output\temp-excel.xlsx&quot;
  writer = pd.ExcelWriter(out_path , engine='xlsxwriter')
  df.to_excel(writer, sheet_name='Sheet1')
  writer.save()
  </code></pre>
  <p>I'm getting error:</p>
  <pre><code>IOError: [Errno 22] invalid mode ('wb') or filename: 'C:\\Users\\Bala Nadella\\output\temp-excel.xlsx'. 
  </code></pre>
  <p>How can I create a file at a given path?</p>