Fix exception in StaticFileHandler when range requested is larger than file.