lavu/file: include unistd.h only when available