#414120 Add in a check to make sure the files directory is writable and the download method is public