This should throw an error. Once you call the first Close Reference.vi, the reference is invalid and deallocated in memory. Trying to use the reference again by either writing to the file or closing the reference again will cause an error.
In general, it it not good programming practice to split a reference wire. This code has branched the wire somewhere otherwise it would be impossible to use the reference after it has been closed. This is why there isn't a reference out on a close reference.