fix mod for file, symbolic mode supported only in 1.8