IO Fixes

Fixed some bugs with the IO and STFS