Removed check for fmemopen