Fixed typo for failed generation message. Closes #334.