ensure self.status is always a number, not a string...

in porting some code to use node.js, i noticed that self.status got set to a string value for synchronous results...