Fix upload bug, where browser spits out hash