report an error message if the stream is unable to be opened or created when it is a filesystem stream