Changing directory creation for file exports