Fix problem with sudo installs and non-world-readable directories.