Adds also DIRECT_IO on the server side to increase I/O performance. DIRECT_IO is used only on full chunks. There is a fallback to non direct-io on non-aligned writes. Closes #390