Added a method to write a bitcoin.conf file.