Fix problem with Flash files in 2.16.0

Fixes #1349 (and probably #1358).