Fix serving binary files

fixes https://github.com/karma-runner/karma/issues/864