NXDRIVE-92: Refactor local edition commands
NXDRIVE-92: Handle local edition of an already locally edited file