Fixed the push file functionality. Everything should be working now.

Signed-off-by: Adam Yeager <adam.yeager@gmail.com>