Marcus Meissner : bin2res: Use fstat, handle errors.