PLATFORM-313 Make rebuildLocalisationCache.php use proper exit codes.