Fix file uploads

This fixes a few issues I encountered when doing this in real life...

/cc @opscode/release-engineers