Fix owner not able to download version.source (bug 540028)

ref: https://bugzilla.mozilla.org/show_bug.cgi?id=540028
That `str(pk)` everywhere is ugly :)