Attempting to save a stream which is not attached to a buffer.
#6081 Run-time catchable error
Attempting to save a stream which is not attached to a buffer.
Additional Information
For stream 'X'.
Explanation
Only streams which are closed and bound to buffers or are unattached
may be saved.