Fix mode for installed files