Bug fix to pushing files.

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