fix: enable handling errors from file://*