Added functionality to be able to write a BitStream to a FileStream with...

...out having to do the leg work