'Dist::Zilla::Role::File' requires the methods 'encoded_content' and 'encoding' to be implemented by 'Dist::Zilla::File::Generated'