Set more sensible permissions on temporary file

The temporary file created to work around the problem that the critic
system user might not have read access to the installation directory
was created with the permissions 0004 (readable only by others) which
meant that if the critic system user was the owner of the file or,
more likely, member of the file's group, installation would fail.