extract and prepend @import statements before combining (fixes #7)