Fixed problems with binary submissions when exporting solutions (#452)