Fixed bug with CLI getFile command.

This problem was caused by the server expecting an int and getting a string instead.