wafsamba.samba_abi: Refactor abi_write_vscript to take file argument.