make sure that the stream wrapper is registered