fixed file deletion error message and name duplication in case of named screenshot