Migrate to Resource stream for jar archiving.