Avoids file upload overwrite when preserving filename. Refs #156