Part of bugfix for storage move problem
Part of bugfix for storage move problem

@fabrixxm is this already good to change?
friendica/friendica,annando/friendica,annando/friendica,tobiasd/friendica,fabrixxm/friendica,friendica/friendica,annando/friendica,fabrixxm/friendica,fabrixxm/friendica,annando/friendica,friendica/friendica,tobiasd/friendica,friendica/friendica,annando/friendica,tobiasd/friendica,tobiasd/friendica,fabrixxm/friendica,fabrixxm/friendica,friendica/friendica,tobiasd/friendica