Use pty only for yum/dnf
Fake fsync and fdatasync calls to improve performance