Better file download using Apache Commons-IO