Fixes issue #176, fstream header was missing

Fixes the issue #176, a simple bug, a simple fix