Set correct mode on files after copying a source directory.

copytree copies the mode bits of the source. If the source is readonly
then the subsequent operations like creating egg information will fail
because the temporary directory is not writable.

The permissions 0700 are taken from the original mkdtemp directory
which gets blown away by unpack_file_url.