Run chmod on the created file