Fixed crashes on fstat due to invalid syntax