Added custom directory for File-based buffers. Can only be set once, and must be set before any file buffers are used.