Summary: Created a test that snapshots the generated files, so that we can capture accidental regressions when generating files. Also made the package id to package name a bit more robust Reviewed By: jknoxville Differential Revision: D21619633 fbshipit-source-id: 88ffb127e050d840df9ccd4b15ba29a71f341975