Improved migration script.

  * Creates different output files automatically per account/GT
    imported and in a different folder (timestamp).

  * Checks for the CalledProcessError exception.
Merge pull request #2725 from ojeda/bio-migrate-script

DB -- Improved migration script.