Fixed issue with writing subdomain fort.13 files