Specify utf-8 on write

When writing the outline migration file, specifies utf-8 as the
character encoding
Updated gitignore to ignore .hg files/dirs