put pending status in the badge filenames

This patch adds pending values to the badge filenames. The previous assumption was that badge statuses are only truthy or falsy but in browser-badge 0.2 the status can also be "pending".