Fixed issues with .nfs files being added into bags. Also fixed an issue
where failed downloads weren't deleted from the temp dir.