code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, April 9th
Created by: whunter
When exporting files, if filename wasn't set it was basically trying to write file content to a directory since filename was nil. This change allows it to fall back to label, which is set to the file's original name at upload.