Preserve bc, de, hl, ix when closing filestreams in write mode
Preserve bc, de, hl, ix when closing filestreams in write mode

KnightOS/kernel,calcdude84se/knightos-kernel,KnightOS/kernel,unlimitedbacon/kernel