fixed problem with serving binary files