Workaround for recent change in ElggDiskFilestore: https://github.com/Elgg/Elgg/issues/5207