Check zero status code when using "file" protocol