use the stream wrapper prefix when available