Fixed type and made sendFile use send

Fixed a type in a console method to use the torque type.
Also the sendFile method should really use send so if send changes or
does any more work that work is still done.