oops: Fix several issues regarding files and downloads