Buffer implementation for makedrive

Here you're expecting the diffs object to come back.  Your module only returns it in one case.  It needs to happen in every case.