Fix the file caching in @import.