Convert canvas to blob and attach to form