Add file encoding to head meta data (#21)