Use uint64_t instead of unsigned long.

BUG=
R=chrisha@chromium.org

Review URL: https://codereview.appspot.com/188090043