Fixed problem of calculation rename leading to duplicates because OSX doesn't handle case correctly