Avoid using O_DIRECT

On newer kernel, opening a file with O_DIRECT may fail with EINVAL,
e.g., Ubuntu 14.04 with Linux 3.13 and ext4.