Convert tag name to lowercase before saving. Closes #15 and #16.