Normalize file modes, please do not change without reason.