Fix silly type bug (int vs str).
bug 1021026: pushing release builds to beta doesn't work in balrog. r=nthomas
bug 1069454: deal with bad data better. r=nthomas