Correct file mode bits