Indentation issue in the write_issues function. This closes issue #4.