add sql files and media excludes to exports, fix excludes on windows