Fix bad paths and ignore generated files.

@seancribbs tagging you, but I'm just going to :+1: it in anyway :beer: