Work around HHVM incompatibility
Zend's documentation suggests a negative return code in case of an
error, while HHVM actually returns a boolean false