FAIMS-460: fixed android file transfer bugs
FAIMS-460: fixed bug with downloading database without triggers
FAIMS-459: fixing database syncing to use smaller files when trasferring