CoursePress PDF download file is courrupted

When I upload a PDF file to a course, but once I try to download it, it gets corrupted.