Fix ubuntu "ignoring return value" warnings.