let artifact_file respect owner/group/mode

This should fix #137.