Tab: ensure file is closed after reading
Move stdlib tracking postinstall

This moves stdlib tracking after the install completes, which allows
the tracking to have access to the actual stdlib in use.

This unfortunately means that builds can error out *after* a build,
resulting in wasted time; however, it reduces false positives, and the
overall user experience is still likely to be better this way.
Move bottle stdlib tracking post-pour

This allows us to track the actual stdlib in use, and prevents warnings
for bottles with no C++ code.