BUGFIX: read rempty files

When opening an empty file the FileReader will hang while trying to read the
first event. Steps to reproduce:

    touch empty.raw
    ./TestReader.exe empty.raw

This patch adds additional checks when opening a file and will throw an
exception if an empty file is detected.