pymapistore: add type check to move_folder