Adding 6c6f6c's fix for saving barcodes

This fix is now in the dev build