Differentiate file mode between Distros.