Compile pyc files at a single point. Refs #6566