Fix downloading SNAPSHOT and LATEST artifacts

Fix artifact_file downloading file name for SNAPSHOT and LATEST Nexus artefacts.