make sure buffer filepath exists