Merge branch 'MDL-59961_file_validation' of https://github.com/mrmark/moodle