Make sure vendor source directory is created before attempting to write to it.