Fix moving files from tmp dir to final location

Did you mean to add `ThrownExpectations`?