fixed Mono freeze when Write() called from non-UI thread (fixes Phonology Assistant 'Backup & Restore')
Adding .gitattributes and .gitignore files

This is in preparation for the migration to git.