OS upload now actually works. Fixes #6.