set encoding to utf-8 and permissions to default to 644

This eliminates warnings when building gems and ensures deployed gems are
readable by all users.