Automatic Backup

Hello!

I am going to add a couple of lines to this file to upload each new model checkpoint to a Google storage bucket. However, this means the lines will be removed with each OpenNMT-py update. Any better or more elegant way to achieve this? Thanks!