Fixed getStatus fopen call