[Libguestfs] [PATCH 01/13] edit: move windows path code to common file