Corrects the mode of installed files