Removing unused shutils; general cleanup.

This matches similar changes made in #476. Seems wise, since `os` support in `shutils` is not guaranteed.