rebase relative URLs in @import files