Set the permission to artefact to 0644

The tmp file is created with 0600 and thus in generatlly not readable by
tomcat, change the permission to 0644

This is a quick fix, we could check the umask and reset the permissions
instead