Bug fix - File upload broken due to api changes in 0.6.x.