Fixed variable bug in write_csv
Merge branch 'master' of github.com:pymc-devs/pymc