Fix file mode bits taxonomies controller

Fixes #2800