Added stdin mode to pybtctool