When exporting a sketch, new folders are created, but existing files aren't altered. The PDE pops up the "A file has been modified externally" message anyway.
This is also a problem in python mode, which compiles .py files into .class files in the sketch directory.