send content length when serving files

add api version for good measure