Fixed import/backup problems

@Smartik89 your merge deleted some lines from this file. I hope there aren't more issues...  :(

Either way, please merge this in so import & export work once more.