Fix regular expresion on migrate_attachments script.