Fix some odd file modes.