Hard-coded path in StreamTask for testing

Changed handling of exceptions