hipos-device-info: Test if file empty

drbcc command 'gfiletype' always creates the target file. If an error occurs
the target file exits but is empty. Therefore use option '-s' instead of '-f'.
Test if file exists and if file is empty.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>