Fix a regression (I think from this development cycle's work) where
files opened in the wave editor don't get copied to the project's
audio file cache, and therefore never get loaded...

Also improve the speed of the code by caching whether a file has been
copied or already seen during a check, rather than stat'ing the filesystem
every time...