Added STATUS_EOF when EOF read with a random access file

Change-Id: I1f527b08743e4825507bd9bc42461fc7a05b7f95