Cleanup created files in case of failure on copy

Storage path and created key are now removed in case the file copy operation fails.