workaround for issue snapframework/snap-core#159
Merge branch 'snap-upload-fix'