Fixes #2234. The front-end file controller was ignoring numeric file ids
on sites upgraded from v2.1.5